/**
 * AbstractAction.java 1.0 2007-5-6 下午08:06:45,创建 by yangfan
 */


package org.in4j.bbs.action;

import org.in4j.bbs.interceptor.OnlineInfoAware;
import org.in4j.bbs.model.OnlineInfo;

import com.opensymphony.xwork.ActionSupport;

/**
 *
 * @author yangfan
 * @version 1.0 2007-5-6 下午08:06:45,创建
 */
public class AbstractAction extends ActionSupport implements OnlineInfoAware
{
	private static final long serialVersionUID = 1L;

	/**返回首页*/
	public static final String INDEX = "index";

	private OnlineInfo onlineInfo;

	public void setOnlineInfo(OnlineInfo onlineInfo)
	{
		this.onlineInfo = onlineInfo;
	}

	/**
	 * 取得当前用户的在线信息.
	 */
	public OnlineInfo getOnlineInfo()
	{
		return this.onlineInfo;
	}
}
